package com.leihao.product.remote;

import com.leihao.common.core.domain.R;
import com.leihao.system.api.domain.SysFile;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

@FeignClient("leihao-file")
public interface LeiHaoFileRemoteService {
    /**
     * 文件上传请求
     */
    @PostMapping("/upload")
    public R<SysFile> upload(MultipartFile file);
}
